package com.example.s06blog.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @auther ShenChen
 * @date 2022/4/3 0:57
 */

@Data
@TableName(value="user")
public class User {
    @TableId(value = "id",type = IdType.AUTO)
    Long id;
    @TableField(value="username")
    String username;
    @TableField(value="password")
    String password;
    @TableField(value="email")
    String email;
    @TableField(value="tel")
    String tel;
    @TableField(value="nickname")
    String nickname;
    @TableField(value="remark")
    String remark;
    @TableField(value="gmt_create")
    Date gmtCreate;
    @TableField(value="gmt_modified")
    Date gmtModified;
}
